package it.polimi.swKnights.SWIMv2.ejb.administration;

import java.util.List;

import it.polimi.swKnights.SWIMv2.ejb.exceptions.IllegalBanException;
import it.polimi.swKnights.SWIMv2.ejb.exceptions.InvalidLoginPrivilegesException;
import it.polimi.swKnights.SWIMv2.ejb.exceptions.LoginFailException;

import javax.ejb.Remote;

@Remote
public interface BanUserRemote
{
	void banUser(String userToBan, int banDays, String admin, String password)
			throws LoginFailException, InvalidLoginPrivilegesException,
			IllegalBanException;

	List<String> getBannedUsers(String admin, String password);

	void endUserBan(String userToBan, String admin, String password)
			throws LoginFailException, InvalidLoginPrivilegesException;
}
